package com.leo.erp.service;

import javax.servlet.http.HttpServletRequest;

import com.leo.erp.dto.TenantExecution;
import com.leo.erp.util.GlobalRuntimeException;

public interface TenantService {
	/**
	 * 
	 * @param tenantId 用户id
	 * @return
	 */
	TenantExecution getTenantByTenantId(int tenantId);
	
	TenantExecution insertTenant(String beanJson, HttpServletRequest request) throws GlobalRuntimeException;
}
